import http from '../../utils/axios'
//添加文件模版
export function fileTemplateAdd(query:any) {
  return http.request({
    url: '/file-template/add',
    method: 'post',
    data: query
  })
}
//修改文件模版
export function fileTemplateUpdate(query:any) {
  return http.request({
    url: '/file-template/update',
    method: 'post',
    data: query
  })
}
//文件模板启用跟停用
export function fileTemplatePublish(query:any) {
  return http.request({
    url: '/file-template/publish',
    method: 'post',
    data: query
  })
}
//获取模版分类
export function dictDetail(query:any) {
  return http.request({
    url: '/dict_detail/listByType',
    method: 'post',
    data: query
  })
}